package cn.tedu.spring.eg3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zq
 * @version 1.0
 * @create 2024-08-03 9:47
 * @since jdk1.8
 */
public class TestShopController {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg3");
        ShopController shopController = context.getBean(ShopController.class);
        System.out.println("4,开发者使用阶段");
        context.close();
    }
}
